package com.liangsui.mss.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.liangsui.mss.domain.DictType;
import com.liangsui.mss.dto.DictTypeDto;
import com.liangsui.mss.vo.DataGridView;

/**
* @author zhang
* @description 针对表【sys_dict_type(字典类型表)】的数据库操作Service
* @createDate 2022-12-04 18:22:31
*/
public interface DictTypeService extends IService<DictType> {

    DataGridView listForPage(DictTypeDto dictTypeDto);

    void dictCacheAsync();

    Boolean checkDictTypeUnique(Long dictId, String dictType);

    int insert(DictTypeDto dictTypeDto);

    int update(DictTypeDto dictTypeDto);

    DictType selectDictTypeById(Long dictId);

    int deleteDictTypeByIds(Long[] dictIds);

    DataGridView selectAll();

    void dictClearCacheAsync();

}
